package com.xmu.makerspace.dao;

import com.xmu.makerspace.domain.ApplicationRound;
import org.springframework.data.repository.CrudRepository;

import java.sql.Date;
import java.util.List;

/**
 * Created by status200 on 2017/8/30.
 */
public interface ApplicationRoundRepository extends CrudRepository<ApplicationRound,Integer>{

    List<ApplicationRound> findFirstByOrderByBeginDateDesc();

    void deleteByTermId(Integer termId);
}
